Definition:
- An imported element causes a name clash with a declaration in the importing module or another imported element.
Code Example:
module Foo {
const charstring MY_CONST := "foo";
}
module Bar {
import from Foo all;
const charstring MY_CONST := "bar";
function f(in charstring s) return boolean {
if (MY_CONST == s) {
return true;
}
return false;
}
}
References:
Quality attributes
- :octicon:`file-code;1em` - Code Example
- :octicon:`comment-discussion;1em` - Cause and Effect
- :octicon:`graph;1em` - Frequency
- :octicon:`sync;1em` - Refactoring